<?php
/**
 * Group Model of the database
 * @author: Ueli Kramer <ueli.kramer@gmail.com>
 */

class Group extends Eloquent
{

    public static $table = 'group';

    public function sections()
    {
        return $this->has_many_and_belongs_to('Section', 'access');
    }

}